package com.gagakuai.bpm.domian.events;

import org.springframework.context.ApplicationEvent;

import java.util.List;


public class CallBusinessStartProcessEvent extends ApplicationEvent {
    private final List<String> subBusinessIdAndProcInstId;

    private final String businessId;

    private final String token;

    public CallBusinessStartProcessEvent(Object source, String businessId, List<String> subBusinessIdAndProcInstId, String token) {
        super(source);
        this.subBusinessIdAndProcInstId = subBusinessIdAndProcInstId;
        this.businessId = businessId;
        this.token = token;
    }

    public List<String> getSubBusinessIdAndProcInstId() {
        return this.subBusinessIdAndProcInstId;
    }

    public String getBusinessId(){
        return this.businessId;
    }

    public String getToken(){return this.token;}
}
